<style>
* {
	box-sizing: border-box;
	font-family: 'Trebuchet MS', 'Arial Unicode MS', sans-serif;
	font-weight: normal;
}

/* section class */
.Top-Live-Games {
	font-family: 'Trebuchet MS', 'Arial Unicode MS', sans-serif;
	margin: 5px 5px 5px 5px;
}

/*section header clas */
.Top-Live-Games-Header {
	/* background-color: #075eea; */
	color: #fbfafa;
	width: 100%;
	padding: 5px 10px;
	text-align: left;
	font-size: 16px;
	/* border-radius: 5px 5px 0px 0px; */
	line-height: 24px !important;
	/* height: 32px; */
	border-top: 1px solid #535353;
    /* border-top: 1px solid #075eea; */
}

#top-live-games-banner-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* Default to 2 columns */
	gap: 5px;
}

.top-live-game-banner {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 3px 3px 0 0; /* Rounded corners */
	overflow: hidden; /* Ensure text holder does not overflow the banner */
	text-decoration: none; /* Remove default link underline */
	width: 100%;
	margin: auto;
}

.top-live-game-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Make image cover the whole banner area */
}

.top-live-game-name-holder {
	position: relative;
	margin: auto;
	width: 100%;
	display: flex;
	justify-content: space-between; /* Distribute text and logo */
	align-items: center;
	/* background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
	padding: 3px 10px;
	color: #fbfafa;
	background-color: #4d4d4c;
	border-radius: 0 0 3px 3px;
}

.top-live-game-name {
	font-size: 12px;
	font-weight: bold;
	text-align: left; /* Move text to the left */
}

.top-live-game-provider-logo {
	margin-left: auto; /* Push logo to the right */
}

.top-live-game-provider-logo img {
	width: auto;
    height: 24px;
    margin-bottom: 1px;
    position: relative;
	opacity: 0.5;
}

.fa-gem {
	font-size: 16px;
}

.fa-medal {
	font-size: 16px;
}

.top-live-games-all {
	font-size: 11px;
	color: #eabd31;
	margin-left: 5px;
	opacity: 0.8;
}

.top-live-games-all-text {
	font-size: 11px;
	color: #7d7d7c;
	float: right;
	/* border: 1px solid #b8b6b5; */
    /* border-radius: 5px; */
    /* padding: 0 10px; */
}

.top-live-games-all-text:hover {
	color: #eabd31;
	opacity: 0.8;
}

.fa-star  {
	position: absolute;
    top: 5px;
    left: 5px;
    font-size: clamp(16px, 4vw, 24px);
    color: #b8b6b5;
	font-weight: normaal;
	opacity: 0.4;
}

.fa-star:hover  {
    color: #eabd31;
	content: "fa-solid fa-star";
	opacity: 1.0;
}

@media (max-width: 350px) {
  /* For tablets and smaller screens, make it 2 columns and 2 rows */
  #top-live-games-banner-grid {
    grid-template-columns: repeat(1, 1fr); /* 2 columns */
    grid-template-rows: repeat(4, 1fr); /* 2 rows */
  }
}

@media (min-width: 351px) and (max-width: 768px) {
  /* For tablets and smaller screens, make it 2 columns and 2 rows */
  #top-live-games-banner-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(2, 1fr); /* 2 rows */
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* For medium screens (tablets), adjust to 2 columns */
  #top-live-games-banner-grid {
    grid-template-columns: repeat(4, 1fr); /* 2 columns */
  }
}

@media (min-width: 1025px) {
  /* For larger screens (desktops), adjust to 4 columns */
  #top-live-games-banner-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    grid-template-rows: 1fr; /* 1 row */
  }
}

}

</style>

